﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _71
{
    class Square:Shape 
    {
        public int sideLen { get; set; }
        public  Square(int a)
        {
            this.sideLen = a;
        }

        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine(sideLen*sideLen);
        }
    }
}
